import { ready } from '@/lib/utils';
import { setupPage } from '../lib';


(function () {
    ready(() => {
        setupPage({
            getDataApiUrl: "/api/audit/user/",
            submitChangedDataApiUrl: '/api/audit/audit',
            columnDefs: [
                {
                    field: "username",
                    headerName: gettext("用户名"),
                    width: 120,
                },
                {
                    field: "full_name",
                    headerName: gettext("姓名"),
                    width: 120,
                }
            ]
        })
    });
})();
